package com.hcrazy.manchester.app.utils;

import java.math.BigDecimal;

public class MathUtil {

	public static float to2ScaleFloatValue(double d){
		BigDecimal bg = new BigDecimal(d);
		return bg.setScale(2, BigDecimal.ROUND_HALF_UP).floatValue();
	}
	
}
